﻿<?php

session_start();
session_destroy();

if (isset($_SESSION["acctype"]))
{
	switch ($_SESSION["acctype"])
	{
		case "admin":
			header("Location: ../View/admin_login.php");
			break;
		
		case "sv":
			header("Location: ../../View/sv_login.php");
			break;
		
		case "gv":
			header("Location: ../../View/gv_login.php");
			break;
		
		case "cnbm":
			header("Location: ../../View/cnbm_login.php");
			break;
		
		case "cnk":
			header("Location: ../../View/cnk_login.php");
			break;
	}
}

?>